/*
 * QCursorAdapter.h  0.4.0 / Nov 17, 2010
 *
 * Copyright (c) 2010 - 2011, cute4j.com and contributors.
 *
 * This software is licensed under the LGPL version 2.1 license.
 * A copy of this license is included in the file LICENSE-LGPL.txt.
 */
#ifndef QCURSORADAPTER_H
#define QCURSORADAPTER_H

#include "Cute4jCore.h"

#include <QCursor>

// QCursorAdapter Class. -------------------------------------------------------

/*!
 * \brief QCursor Adapter.
 *
 * \author Slobodan Vrkacevic
 * \version 0.4.0
 */
class CUTE4J_EXPORT QCursorAdapter : public QCursor
{
public:
  QCursorAdapter(int type);
public:
  static int cursorType(const QCursor &cursor);
private:
  static int rangeCheck(int type);
private:
  static const Qt::CursorShape CURSOR_SHAPE[];
};

#endif // QCURSORADAPTER_H
